﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ServerSetting
{
    public partial class InputDialog : Component
    {
        public InputDialog()
        {
            InitializeComponent();
        }

        public InputDialog(IContainer container)
        {
            container.Add(this);

            InitializeComponent();
        }

        public DialogResult ShowDialog()
        {
            using (var dlg = new InputDialogForm())
            {
                return dlg.ShowDialog();
            }
        }
    }
}
